<script type="text/html" data-help-name="change-detect">
    <!-- Enter a summary of Node functionality here in 50 characters or less-->
    <p>Output changed data with/without delay. only for boolean data</p>

    <h3>Property Items</h3>
    <dl class="message-properties">
        <dt>Rule List<span class="property-type">Rule List</span></dt>
        <dl class="message-properties" style="margin-left: 8px">
            <dt>Object key<span class="property-type">string</span></dt>
            <dd>Object key of target object for change detection. If left blank, the data of all objects will be targeted</dd>
            <dt>Data name<span class="property-type">String</span></dt>
            <dd>Data name of target data item for change detection. If left blank, all data names will be targeted</dd>
            <dt>ON delay <span class="property-type">number</span></dt>
            <dd>The number of continues times of true value for change detection of true.</dd>
            <dd>If it becomes false within this number of times, it will be reset</dd>
            <dd>If blank, immediately</dd>
            <dt>OFF Delay<span class="property-type">Number</span></dt>
            <dd>he number of continues times of false value for change detection of false.</dd>
            <dd>If it becomes true within the set number of times, it will be reset</dd>
            <dd>If blank, immediately</dd>
        </dl>
        <dt>name<span class="property-type">string</span></dt>
        <dd>Name to give to individual Node</dd>
    </dl>
    <h3>Input message</h3>
    <dl class="message-properties">
        <dt>request <span class="property-type">string</span></dt>
        <dd>ia-cloud request content. Valid only for "store"</dd>
        <dt>dataObject <span class="property-type">object</span></dt>
        <dd>An object of the ia-cloud dataObject structure. </dd>
    </dl>

    <h3>Output message</h3>
    <dl class="message-properties">
        <dt>payload <span class="property-type">string | object</span></dt>
        <dd>contentData of the ia-cloud object. Error comment, if an error occurred. </dd>
        <dt>request <span class="property-type">string</span></dt>
        <dd>ia-cloud request content. Same as received as input message. </dd>
        <dt>dataObject <span class="property-type">object</span></dt>
        <dd>ia-cloud dataObject. to be output only when it changes.</dd>
        <dd>The iaCloud objects that are not subject to change detection are output as is. </dd>
    </dl>

    <h3>Details</h3>
    <p>Detects changes in the boolean value of the iaCloud object in the input message and outputs that object only when it changes. </p>
    <p>Changes can be detected for each data item individually or all together</p>
    <p>If the true/false data continues for setting number of times, it will be recognized as a change</p>
    <p>The iaCloud objects that are not subject to change detection will be output as is. </p>

</script>